package com.thientan.export.exceptions;

/**
 * Export exception used to notify having problem in export process. It will contain all exception which was thrown in
 * export process: JRException or IOException.
 * 
 * @author qtt
 * 
 */
public class ExportException extends Exception {
    private static final long serialVersionUID = -5013948500928720322L;

    /**
     * Create exception with only message.
     * 
     * @param message
     */
    public ExportException(String message) {
        super(message);
    }

    /**
     * Create exception with only message and cause{@link Throwable}.
     * 
     * @param message
     * @param throwable
     */
    public ExportException(String message, Throwable throwable) {
        super(message, throwable);
    }
}
